package net.youball.entity;

/**
 * BallJoin entity. @author MyEclipse Persistence Tools
 */

public class BallJoin extends BaseEntity implements
		java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer joinId;
	private Integer joinInningsId;
	private Integer joinUserId;
	private long joinTime;
	private Integer state;

	// Constructors

	/** default constructor */
	public BallJoin() {
	}

	/** full constructor */
	public BallJoin(Integer joinInningsId, Integer joinUserId, long joinTime,
			Integer state) {
		this.joinInningsId = joinInningsId;
		this.joinUserId = joinUserId;
		this.joinTime = joinTime;
		this.state = state;
	}

	// Property accessors

	public Integer getJoinId() {
		return this.joinId;
	}

	public void setJoinId(Integer joinId) {
		this.joinId = joinId;
	}

	public Integer getJoinInningsId() {
		return this.joinInningsId;
	}

	public void setJoinInningsId(Integer joinInningsId) {
		this.joinInningsId = joinInningsId;
	}

	public Integer getJoinUserId() {
		return this.joinUserId;
	}

	public void setJoinUserId(Integer joinUserId) {
		this.joinUserId = joinUserId;
	}

	public long getJoinTime() {
		return this.joinTime;
	}

	public void setJoinTime(long joinTime) {
		this.joinTime = joinTime;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "BallJoin [joinId=" + joinId + ", joinInningsId="
				+ joinInningsId + ", joinTime=" + joinTime + ", joinUserId="
				+ joinUserId + ", state=" + state + "]";
	}
	
}